package com.example.jobback.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
 * @ClassName: AuthConfig
 * @Description: 身份验证配置类
 * @Author: lhb
 * @Date: 2025/5/12
 */
@Component
@ConfigurationProperties(prefix = "author")
@Data
public class AuthConfig {
    /**
     * @Description: 加密电话号码密钥
     * @Author lhb
     * @CreateTime 2025/5/16 15:44
     */
    private String phoneSecret;


    /**
     * @Description: 加密密码密钥
     * @Author lhb
     * @CreateTime 2025/6/23 12:08
     */
    private String passwordSecret;


    private Long jwtTime;

    /**
     * @Description: 求职者jwt签名
     * @Author lhb
     * @CreateTime 2025/5/16 15:44
     */
    private String jwtSeekerSecret;

    /**
     * @Description: 招聘者jwt签名
     * @Author lhb
     * @CreateTime 2025/5/16 15:45
     */
    private String jwtRecruiterSecret;

    /**
     * @Description: 管理员jwt签名
     * @Author lhb
     * @CreateTime 2025/5/16 15:45
     */
    private String jwtManagerSecret;

    /**
     * @Description: 跨服务jwt签名
     * @Author lhb
     * @CreateTime 2025/5/16 15:45
     */
    private String jwtCrossServiceSecret;

    /**
     * @Description: 临时签名
     * @Author lhb
     * @CreateTime 2025/5/17 15:58
     */
    private String jwtTemporarySecret;


    /**
     * @Description: 临时签名ttl
     * @Author lhb
     * @CreateTime 2025/5/17 16:04
     */
    private Long jwtTemporaryTime;


    /**
     * @Description: 加密userid的密钥
     * @Author lhb
     * @CreateTime 2025/5/16 15:45
     */
    private String jwtIdSecret;

}
